Micron Document
baubs git

Node / mirrors / respira / files / src / formats / import / constants.ts

Displaying Raw • Download

src/formats/import/constants.ts copilot/create-shared-infocard-component (7c3f79ae) Text, 771 B

/**
* Embroidery command constants
* These are bitmask flags used to identify stitch types in parsed embroidery files
*
* Note: PyStitch may use sequential values (0, 1, 2, etc.) internally,
* but pyembroidery (which PyStitch is based on) uses these bitmask values
* for compatibility with the embroidery format specifications.
*/

// Stitch type flags (bitmasks - can be combined)
export const STITCH = 0x00; // Regular stitch (no flags)
export const MOVE = 0x10; // Jump/move stitch (move without stitching)
export const JUMP = MOVE; // Alias: JUMP is the same as MOVE
export const TRIM = 0x20; // Trim thread command
export const COLOR_CHANGE = 0x40; // Color change command
export const STOP = 0x80; // Stop command
export const END = 0x100; // End of pattern

Served by rngit 1.3.3 - Generated in 0.05s